mongodb persistence added