replace the  platform with the new  platform