updating query and anytime versions