notes into database