ordered tasks to avoid update issue