updating examples
fixing lib