update HW 6 and Lab 6