Update sqlscript