implement delete function for asset