update TODO and query notes