begin/endFrame -> begin/endUpdate.