update batch connect to local db