update homework 6