add functinality update block data