modify db script