modify search sample