Update notes functionality working.
Changed the arguments required for update_notes and added get_all_notes function to 'api'