update example and synopsis