add helios config middleware