Update lab and fix some lint warnings