Add callbacks to create & update functions.