Update query label