update dbscript