update db for production