Update configuration (port & api folder)