Calculate & update the tiles correctly