add onBlockReady callback event