Notes are now saved and updated properly.