# Update collections with new postgresql table

**URL:** https://community.forestadmin.com/t/update-collections-with-new-postgresql-table/2849
**Category:** Help me!
**Created:** [July 6, 2021, 2:38pm UTC](https://community.forestadmin.com/t/update-collections-with-new-postgresql-table/2849 "2021-07-06T14:38:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![cooki](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/cooki/32/2657_2.png) [@cooki](https://community.forestadmin.com/u/cooki)
#### Post date: [July 6, 2021, 2:38pm UTC](https://community.forestadmin.com/t/update-collections-with-new-postgresql-table/2849/1 "2021-07-06T14:38:56Z")

</div>

## Expected behavior

After creating a new table in my database, there is a way to update forest admin ui to reflect the addition of that new table.

## Actual behavior

Running `lumber update` gives the following error:

```javascript
> We are not able to detect a lumber project file architecture at this path: <path to my app>.: Error: No "routes" directory.

```

After creating a `/routes` dir,running `lumber update` gives the following:

```javascript
> The configuration file "<full path to>/config/databases.js" does not exist.

```

## Context

`"forest-express-sequelize": "^7.12.0"`

Forest Admin was installed on a existing NodeJS Express / Sequelize app. Is there documentation on using `lumber update` in that scenario ?

Thanks,  
Camille

---

<div class="post-metadata">

### Author: ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)
#### Post date: [July 6, 2021, 2:50pm UTC](https://community.forestadmin.com/t/update-collections-with-new-postgresql-table/2849/2 "2021-07-06T14:50:54Z")

</div>

Hi @cooki,

Thanks for your message.

Actually, the command `lumber update` has been made for the project that have been generated with Lumber.  
For a project installed on an existing app, it is believed that the project owners will update and maintain their models on their own (as those models are probably not only used for Forest Admin).

Let me know if that makes sense.  
Thanks!

---

<div class="post-metadata">

### Author: ![cooki](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/cooki/32/2657_2.png) [@cooki](https://community.forestadmin.com/u/cooki)
#### Post date: [July 6, 2021, 2:55pm UTC](https://community.forestadmin.com/t/update-collections-with-new-postgresql-table/2849/3 "2021-07-06T14:55:51Z")

</div>

Hey @anon34731316 that makes sense.

Maybe I should give you more context:

I created a `my_model.js`, ran the app which executes `sequelize.sync({ alter: true });`. Now there is a `my_models` table in my db.

Next I want to see that model as a collection in my Admin UI. How do I do that ?

Thanks,  
Camille

---

<div class="post-metadata">

### Author: ![anon34731316](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@anon34731316](https://community.forestadmin.com/u/anon34731316)
#### Post date: [July 6, 2021, 3:04pm UTC](https://community.forestadmin.com/t/update-collections-with-new-postgresql-table/2849/4 "2021-07-06T15:04:28Z")

</div>

@cooki,

Did you restart your server?  
Are you sure your new collection is not just hidden (you could see it when hitting the “edit layout” button)?

---

<div class="post-metadata">

### Author: ![cooki](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/cooki/32/2657_2.png) [@cooki](https://community.forestadmin.com/u/cooki)
#### Post date: [July 6, 2021, 3:13pm UTC](https://community.forestadmin.com/t/update-collections-with-new-postgresql-table/2849/5 "2021-07-06T15:13:00Z")

</div>

It was hidden 👻 thanks a lot 🙂
