update
use more defined method for port
update conf