update lab3 example