fixed issue with mongodb update() call.  the whole thing works!