updated extract process