upgrade railties dependency