updated with carrierwave gem