Update all image references to <figure>