Update spaces around blocks