update homework 3