modify database connect