update to fix a depreciation bug