-- update ui for collapse button