Add a function for success event, it is needed.

I think that's true :+1: