refactor block someBlock
update data
update index