Updating img references