updating the mongo storage plugin