change block type