updating entities Cliente and Pedido