def update_registration_key(self, username, new_key): # Update registration key for a given user pass