update masonry, new-figure, subheadings and tabs