update docs struct