Update categories.