Update callback to make it more readable.