add hooks after checkpoint.

M