add status attribute for task