Reimplement server side updateCompany using livedb

Might need more changes.