Capturing some medium effects in the dilaton to study hadrons in AdS/QCD models