update task (ugly for now)