update content and add expand all button