updated spawning