pull some methods out of onUpdate