updates to db setup