updating search text