update search from dates