update to new Swift requirements
modernize legislator view