Fixed #10
- fix updateAchievement missing in java code