update for spawing