Updated Server to handle update packets correctly