docs_update_by_query function

Update documents by query