update masonry id