updating homework2