update to search message and input size