Update block definition

The block definition code listed doesn't work properly. This does.