For validate and edit name and peramalink