updating random things to be more efficient