update barChart. recreation of all blocks is needed