this should always be true, or at least i cannot see scenario where endpointConfig would not be defined. as if it is not it should be created during add operations.