Updating task added.
Refine some function.