Moving init to separate state_update process.