updates the dependency to carrierwave and activerecord