update Rake lib
fix error adding product
fix rubocop errors