up version(rails 3.1 -> 4.0)