`updateGame` takes a third parameter `opts`, which is supposed to be the data you're actually updating. Doesn't really make a difference here, but to follow its convention you should probably move the `game.status = ...` line into the `opts` parameter, ie. `updateGame(client, game, {status: ...})`.