Hotchatdirect chat profile updating a progress bar during php scripts