update qrcode and choose the best test