fix update in api for company