How we call onupdate method when table structure is changed

I want to call onupdate method in database when i changed the table structure of the database