fix update for lab3