Wix Members: New wix-members & wix-members-backend APIs

I wonder if you could give clarification on how to set/update custom fields with wix-members backend. There seems to be a difference in method between members . updateMember and authentication . register . In the documentation of ‘updateMember’ the custom fields parameters are an object, in ‘register’ they are not described as objects.