Update assignment7