update progress logic added