added saving the changes in the textarea