update spec definition