update db script.