save context when deleting brands etc on sync