update Rake lib
fix error adding product
fix rubocop errors
fix more rubocop errors