'update a username'

def update_user_name(self, inc_user_name):

    try:
        index = self.user_names.index(inc_user_name)
    except ValueError as _:
        return self.add_user_name(inc_user_name)
    self.user_names[index] = inc_user_name
    return True
