API not showing custom opt out fields

I have added 3 fields to the email address field along with opt out, invalid, primary and opt in.
When trying to fetch the fields through API (v4.1), I am able to get those custom fields in relationship_list array when mentioned in API.

But how to update those fields through API?

Please help.