upgrade a rails 4