When a remote game is finished, remote record in database