changes in search controller