deleted duplicate editParagraph function in requestHandler