Updating from search query works. Need to fix editing from search query result