updates the getLib script