Update of examples and core api