insert game changes into DB