Add and fix update_example script