~~NOTOC~~
====== RCDBManager / Main screen / Start Process / Update ======
Updates a database from the given DAT file. The database must exist in the path defined in menu //File/Settings/RomCenter databases path//. The name of the database is derived from the DAT file being processed. For example, if the tree node processed is **Amstrad CPC\Applications\[BIN] (TOSEC-v2020-05-12_CM).dat**, RCDBM will search in the databases path to find a database starting with **Amstrad CPC - Applications - [BIN]**. RCDBM will assume that __the first database it finds__ (if it finds one) is the database to be updated and pass that to rc.exe.
The term __first database__ is used because the database name will probably be named from an older TOSEC version, so it may have a different date in its filename (i.e. **Amstrad CPC - Applications - [BIN] (//TOSEC-v2019-07-20_CM//).dat**). If the proces finishes without errors, the original database name will be changed to reflect the new TOSEC DAT release date. For instance **Amstrad CPC - Games - [DSK] (//TOSEC-v2015-05-07_CM//).rdt** would be renamed to **Amstrad CPC - Games - [DSK] (//TOSEC-v2020-07-12_CM//).rdt**. This process assumes that the original filename follows the TOSEC naming convention (like RomCenter does).