make qrcode update in realtime