update processor foreign keys handling