Implement updateDataQuery copilot tool (#3045)