updating Rails version and railties versions