fixed update query