Update doc and add more complex examples