Update event for searchbox