Added update code example