change the definition of the spec task