Update icon example to use new API