update sql scripts

cc