update collapse doc