upgrade dependency and remove unused settings