update and fix example