added edit and destory fields to search view