An update on the above problem,
All the coding seems to be correct but there appears to be a delay ranging from a few hours upto 24 hours before changes to the overlays are recognised. Once the .png is loaded to the host site it can be viewed instantly by typing in its URL, the kml file is updated with that URL but can take upto a day for it to appear on the google earth plug in.
Is this a server side issue?