update ui
implement correct cca