Layer data structure is now updated when a tile is added or changed