Player update and obstacles