Update Export function