Update ls.cpp