Earthquake upgraded to 6.5 magnitude