UpdateMember

I would like to let the members update their information through a custom form located on the My Account page instead of using the default widget, I learned that could be done using UpdateMember(), but I couldn’t understand how to use this function on my case since there is no example on Velo API Reference

any advice?