publish lib