update search js