change credential file