remove unwritable attributes when saving a company