add maxwens input mediator
adjust smartmax, add martmax eps, update ondemand