search and update working, still need to work on displaying search results
refactored tempimg route for readability