send applicant secret to PEAS service
added function updateFile