extend Fragment and make all Fragments use the new update() function