Allow user to define update behavior.