modify search controller