application: add edit function to let staff/leader to update their applications;