update users query statement