query updated