Add code for saving ,deleting nad updating a note