edit rails