modified database to add titles for notes