update ui of category