add iNewRessources as well as iDeletedressources. It seems to work fine. Ready to be merged and deploy