update api for progress