fix to update webPages array vs appending