update to prepareToPlay