Change and correct Database files