add version field to constblock