Upgrade to paperclip 4