update: update fenced block code