update img references