edit link now working on search page