Add task rename function