update Gemfile.lock and application.rb