update block value