Update fill_gaps.