update block grid