Fix update rails