update lib for demo page