spawn & update -> init & main