changing database connect