Improve the game database update to new version

- add old version check for not do incompatible update
- converted to utf8 and added indentation