query spec update