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