Fix current port update