update for surrounded regions