update rails version, change routes