fix user update query