Update example to use open_url