Changed barcode encoding and fixed a bug where student hours werent updating