backend changes for GetallNotes