update sql scripts.