Update swimming functions