updates some references