updated query notes