update paragraph in the main content