Use AOP for beforeUpdate (deprecated preUpdate)