[db] updates blocks to be inside BlockRibbon. fixes #10