updates ports