update exchange to c++11