MongoDB change usage of update and add