updating to correct API name