Minor updates to db