update hw3 and hw2