updating search function