Fix to previous commit, get proper member id to array for updates.

Previous commit had an error where it wouldn't get the proper member_id.
This resolves it.