Added updates for spatial hash.