[00:00] In order to rename properties in an existing Mongo document, we can again use update1 or updateMany. But before we do that, let's search for our favorite object and this is going to be name Bob Johnson. We've got it. So let's run update one. Now, here is the query.
[00:23] We're going to leave it as it is. And here we don't do set, we don't do unset and so on and so forth. We're going to use the rename. And here is the key from value to names of the properties so let's replace the position which is going to become a title whatever and let's also remove the skills with competence or again just a name, so competence. After running this we can see matched one modified one, So let's see Bob Johnson and we've got competence and title as we can see these fields, these properties have been inserted at the end of the document.