Update StateMapping.cpp