Upgrade rails and deps