added paperclip and updated the product controller