removed update in the callback