Added download and edit functionality for search