macro 'update' not running when a page is added or deleted, why

here is the code placed in 'ThisMacroStorage'

Private Sub CurDoc_PageCreate(ByVal Page As Page)
    update
End Sub

Private Sub CurDoc_PageDelete(ByVal Count As Long)
    update
End Sub