updated Merge Stock logic to support stock which didn't have old data