Change asset persistance to INSERT ON DUPLICATE KEY UPDATE