A GML-based approach to automate spatial metadata updating