Update xlsapi.cpp