[CDE-328]: fixed bug where only the first expand parameter was updated on click event

@pamval please review