update into ruby-on-rails