added edit member functionality