update qi