change type of blocks