working version with search and update, no style