update Lib generator

Signed-off-by: eduowan <donis.wang@ericsson.com>