Lib update and example file included