update assignment1