Update rails 3