add task to update and commit list