updating RoR  and SQL 9