updated mongo samples to use morphia