Fix notepad entities update bug