update array extract options logic