update player & fixes bugs