Update files for Rails 4