update for reference updating