db changes to company and branches