Bug fix for block update