better setting of updated blocks/jobs also fixed bug where block would never be freed in simulation mode