Changed **kwargs to update_attrs