rding2, xwen; Implement update method in mockData; Add test cases for deadlineCheck;