update example with advanced expressions