changing rails