add methods addSaveHook and addDeleteHook in Manager