edit spec for service