made changeds for the memberassociation api endpoint