API updates

Updating to newest API