update homework exercise