updates display of categories