update tomdoc to match format