small changes to db