Updated update-attendance.cpp to use config file