up version and cache queries