update rails example