Add renametask method