update target platform file