Update linelist.cpp