Update sql scripts