update spec.