add asset directory change check

and add deleted post registry but no handling yet