update and add example