update hw5 and hw6