edit block class