remove old terrain section and update the log file.