Call update_tube only if tube_data is a hash