update company entity