add flag endpoint to companies