update block pattern
update block pattern