Updated Connection Method