Update validation for paperclip 4+