updating diagrams, fixed caption for fig 5