Update selection.cpp