add rubocop gem, bundle update
minor refactoring: rubocop