Updated Server Update Logic

Updated the server update logic to use the new $server class.