passing data into updateQuery again