implemented save for AgreementTypes