change connection to localhost