Memory feature not working

I have tested many memory update requests and it will falter, I will keep reiterating and eventually it will get it right but only for that chat, once a new chat is started it will ignore the memory setting requests again.

Example: Add to your memory that when I ask a yes or no question if the answer is yes, just say yes but do not give any code examples. if the answer is no then it is okay to give code examples.