Added pre-render to update thread