modify notedatabase