Update auxiliary_func.cpp