sync platform code