please look at removeFromDatabase() in Asset class.