update lib scripts