Upgrate rails 4