Updated syntax examples

updated examples.