cleaned up the code for updating the Volunteer object