Update function added to targets.