add flow diagram 2 of client