Bug in the mongodb db website when trying to update an exsisting document to empty

There is bug in MongoDB website where they allow us to run update() in website itself. There is difference behavior with the latest version 5.0.2 and the website. please refer below SO link for the same.