Update NamedQuery