update RAILS