update the database for production