update grid, solve unveil bug