Renamed updateTexture
Tried to fix setting occupied/unoccupied tiles