updated masonry rails