adding notes model as well as updates to the database