Update query selector