fixed update query management