delegate method updated.