update lib for demo