altered query's model attendee to new format