Update connection and io