refact company configure