separate config callbacks for first render and subsequent connections