update image ref