abandoned search functions, working on update functions