update documentation with userdata field