update platform api