update assignment6