enable editing of existing documents in mongodb. Almost there!!