Updating result object for Custom Query