If your PS4 controller won't charge, you can try swapping out the charging cable or checking the charging port.
You can update your Xbox One controller wirelessly, using a USB with the console, or using a PC to receive firmware improvements.