added update example