update blocks