change view option delete and edit