Changing DB connection and then Keys