update image ref, label border