added rename category functionality