fetch last_modified from database
refactor caching of notation data