update a save function and load function in class Game