fixed minor error in STD diagrams and updated the design document