update to use platform-api gem