changed the task and comment creation