add domain demo and update doc