Change spec attribute