update lab2 and lab3