Update Select_func.hpp