def METHOD_NAME(self, updates):
    if 'active' in updates:
        props = self.properties()
        AugerEndpointPipelineApi(self.ctx, 
            props['endpoint_pipelines'][0].get('id'))._call_update({
                'active': updates['active'],
                'id':  props['endpoint_pipelines'][0].get('id')
                },
                has_return_object=False
            )
        del updates['active']
    if updates:    
        updates['id'] = self.object_id
        return self._call_update(updates)