Update db script