updating celery progress bar to show the state of task