updating dependencies for Rails 4