adding rename and delete functionality