Update Direction.Java