upgrade Sweet lib