When removing components, save changes to DB