updates extract functions