modify Unit spec by subei