change
Updates a Note with the given identifier with the newNote primitives.
Return
The new saved instance of Note
Throws
if the new note id from the primitives or the old note identifier isn't valid
if the id of the new note is already used on the repository
if the old note identifier doesn't exist on the repository
if the new note content is the same as the old one (doesn't compare the identifier, only the content)
if the new title isn't valid