#10 beforeCreate, beforeUpdate