updates for API changes