Added rename and delete functionality