add rename functionality