update versions.
remove warnings suggested by rubocop.