add edit to index for admin