Update connection not working