updated the sql scripts to be current