update last paragraph