assignment 3: update data