don't update segmentation layer if not necessary