Mongo command is not working after update