update entities Contrat and Periode