update sub spec.