update example method