udpate inference demo