update query
Merge pull request #340 from katiewood/master

update query