update content and format posts