updating with the right ports