- updates to some sql scripts