Added new methods queryObject and updateObject with integration