able to save gameinfo into database