mongo database update command modified.