Model before_update callback was not defined.

before_update couldn't be used.