update ui common component