Update file uploading for agreements.