update function signature on lifecycle callbacks
update model example