add endpointgroup_id attribute to Endpoint