update to  to be secure search