Update attributes so that order takes precedence over category.