update stability, and add example