update image refrence