Update Platform.cpp