update square