Adds playercheck and update