generate and readd QR code