add view edits and search functionality