updates to tasks controller