Added $id to target update function call.