updated library to map API changes