Updated the load lab function