updating mosaic path