update gems
fix paperclip factory
Category.all is deprecated