fix port update