Update queued status for task
Refactored status class