update task activity