delete data and auto-sync the view