Forgot to include query in passing update var