define Task.before_validation
define Task.after_update