replace some dep'ed usage of AR connection