Add BeforeChange method and Exemple