update to adapt mosaic