update platform and build