updated to new libgdx version