Added update capability on formatter.

removed 3 tasks, centralized into one.
changed some data types.