Updates the attributes for the subroutine instance, handles name changes
        in the parent module as well.

def update(self, name, modifiers):
        """Updates the attributes for the subroutine instance, handles name changes
        in the parent module as well."""
        self.update_name(name)
        self.modifiers = modifiers