updating references to localhost to core