only upload attach if data modified