Let $T > 0$. Let $(\Omega, \mathscr F, \{\mathscr F_t\}_{t \in [0,T]}, \mathbb P)$ be a filtered probability space where $\mathscr F_t = \sigma(W_u, u \in [0,t])$ where $W_t$ is standard Brownian motion.
Let the stochastic process $X=(X_t)_{t \in [0,T]}$ solve the SDE
$$dX_t = \beta(t,X_t)dt + \sigma(t, X_t)dW_t$$
with initial condition $X_t = x$ where $x \in \mathbb R$
Prove that
$$E[g(X_T)|\mathscr F_t] = E[g(X_T)|X_t]$$
where $g$ is a Borel-measurable function and $E[|g(X_T)||X_t=x] < \infty$
What I tried: $\forall t \in [0,T]$.
$$X_t = X_0 + \int_0^t \beta du + \int_0^t \sigma dW_t$$
Choose $t=T$ to get:
$$X_T = X_0 + \int_0^T \beta du + \int_0^T \sigma dW_t$$
$$\to X_T = X_t + \int_t^T \beta du + \int_t^T \sigma dW_t$$
Define another Borel-measurable function $h(x,y)$ s.t.
$$h(X_t, W_t) := g(X_t + \int_t^T \beta du + \int_t^T \sigma dW_t)$$
$$\to g(X_T) = h(X_t, W_t)$$
$\because X_t \in m\mathscr F_t$ and $W_t$ is independent of $\mathscr F_t$, we have
$$E[h(X_t, W_t)|\mathscr F_t] = E[h(x, W_t)]|_{x=X_t} \tag{*}$$
Also, $\because X_t \in m\mathscr F_t$, $W_t$ is independent of $X_t$.
Thus,
$\because X_t \in mX_t$ and $W_t$ is independent of $X_t$, we have
$$E[h(X_t, W_t)|X_t] = E[h(x, W_t)]|_{x=X_t} \tag{**}$$
Combining $(*)$ and $(**)$ gives us what we want. QED
Is that right? Any other assumptions to make such as continuity, integrability or boundedness?