add task.created and correctly calculate firstSync