add lib dependency, update lib