update swift ref.