Added ability to make problems updating cache fatal
fixed rubocop failures