How to Update AI Perception Manually?

Thank you for actually answering the question. I also need to update the perception manually, and this is the first thread that comes up in a search. And then the first two people didn’t answer the question, but told the OP completely different things to do.