change enum status for task