updating defines based on new info
test func for connection