Update API to use online_date