Ответсообщение недоступно
Where you called the function update_id, you gave it a parameter. When you defined the function, it was without a parameter. If you want the function to take a parameter you should add the parameter as an argument when defining the function.
Something like this:
def update_contact(self, arg):
# code