upgrade the rails