Update port file