updating ressource for candidate and publication