update the target platform