change category method