update to latest sql scripts