fixed; document#update returns a Query

closes #1397