update notes db tables