update for game java