change closed tasks api