Sony has released a software update for their Sony Xperia XZ and Xperia X Compact, the updates come with the latest security patches from Google for November.
The updates also come with some performance improvements and also bug fixes, the one for the Xperia XZ may also include a fix for the double tap to wake response issues that some people have have.
The update for the Xperia X Compact also comes with a number of bug fixes and performance improvements.
The November security patch should be available for both devices as of now you can check to see if the update is available from the settings menu on your handsets.
Source Xperia Blog