refined collision and movement. Player data is now updated to the server