update references and service