updates everything.