updating sql scripts for the update