shared ref update