Update state after deploy