Update file upload in agreements and tie into api endpoint.
Update file uploading for agreements.