Rails3 compatibility: replace after_update