update assignment 1,2