refactored upload attendace tool
fixed conflict