refactored update positions
refactored pizza generation