refine the system architecture diagram