Update server from Assignment 7; Replaced deprecated utility function