update main configuration