If you want to perform an action when post is updated/published in WordPress? The save_post action fires When a post is updated and/or published.
add_action( 'save_post', 'wpse41912_save_post' );
// do stuff
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.