updating with angular and masonry functionality