update example and fix layout in terms