code: def updatePlayer(name, settings):
      
      player = delPlayer(name) # remove the existing record
      _validate(settings)
      player.update(settings)
      player.save()
      getKnownPlayers()[player.name] = player
      return player
docs: update an existing PlayerRecord setting and save to disk file