Run a function when a custom post is update?

Run a function when a custom post is update?