update style, support multi paragraph