Updates some stuff