update sql.
Merge pull request #274 from forumbyr/master

update sql.