add a new api for tracking progress