Upgrade rails for $reasons