update the db script