updating bug with playing boolean