remove local metadata upon successful deletion