Updating sql scripts