Added sync image_refs into core