revise summary flow diagram