merge of  Progress Update function