update named queries detail