queries: added update [closes #10]