update collapse to collapsed