update progress & length on iOS