fixed deleteByQuery example, regenerated api, closes #58