update port & rel path