change all homework to deadline
rewrite updateData function