Update to use the latest Atmosphere API