update paragraph