update the fix callback in loop