updates some stuff