Update state.tpl