updated api's to latest