 
                 let margins = self.getMarginForItem(item)
                 let leftMargin = self.margins[index * 2]
-                leftMargin.snp_makeConstraints(closure: { (make) -> Void in
+                leftMargin.snp_updateConstraints(closure: { (make) -> Void in
                     if margins.left == MarginAuto {
                         autoMargins.append(leftMargin)
                     } else {

                let marginHeight = blankSpaceSize / CGFloat(autoMargins.count)
                for var index = 0; index < autoMargins.count; index++ {
                    let margin = autoMargins[index]
                    margin.snp_makeConstraints(closure: { (make) -> Void in
                        make.height.equalTo(marginHeight)
                    })
                }

                let marginWidth = blankSpaceSize / CGFloat(autoMargins.count)
                for var index = 0; index < autoMargins.count; index++ {
                    let margin = autoMargins[index]
                    margin.snp_updateConstraints(closure: { (make) -> Void in
                        make.width.equalTo(marginWidth)
                    })
                }
