updated named queries