before and after events are called on instance and on class
replace trigger call by before and after call