Update database data and recovery incorrect data. Function is called automatically after loading of file.