Updated the delegate callback.