Update Task to handle timestamps from Celery