Task class update