updated the db schema