human
Solve the following python programming problem given the following code:
@ classmethod 
def UpdateOperation(cls, client, callback, user_id, device_id, device_dict) : 
    'Updates device metadata.' 
    def _OnQuery(device) : 
        device.UpdateFields (** device_dict) 
        device.Update (client, callback) 
Device.Query (user_id, user_id, device_id, None, _OnQuery) 

    
    

    Fix the buggy line: Device.Query (user_id, user_id, device_id, None, _OnQuery)
assistant
#Here is Python code to fix the buggy line: Device.

Device.Query (client, user_id, device_id, None, _OnQuery)