added auto update once rows are added
halfway through getting the qr working