Added remove and add logic in multiple paragraph tags