updating references