bug fix for square updates