udpate for block