update library doc