In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .
Since you mentioned you updated your OS, I presume that you're on MIUI version 10.3.6. and the problem started after updating. Have you factory reset your phone? Since it might just need a clean install to get rid of bugs you're currently experiencing. I know it's troublesome to factory reset as it's such a hassle to set up the phone from the scratch, but we need to know if the problem will go away after doing so.
To fix it, we need to report bugs/glitches that your device is currently experiencing to Xiaomi Developers so that they can issue an update that will resolve your problem. Kindly provide the necessary details such as MIUI version, Model name (RN7 variant), and describe what, when, where and how did the problem occur. You can find your device details at Settings: About Phone and for reporting the issue Settings: Feedback.