Added update to task api.
Lint more files.