corrected put action in taskController