updates references