update lib js