update docs for structs