update to adapter

fine tuning.