update content to be centered