update inference