$query = $queryNewStatus . ', ' . $queryOldStatus;
} else {
$query = $queryNewStatus . $queryOldStatus;
}
$this->db->prepare('UPDATE `steamGameDB` SET ' . $query . ' WHERE `appid` = ?');
$this->db->execute(array($game->appId), 'i');
$game->gameStatus = $status;
}