Connected refresh button to update method.