updates example with get