updaing example