Added update example in document