Update example, add getter method mgt