Added retention config to update_many to support other ts databases.