Update varlist.cpp