Fixed update issue (bug/missing feature in mongodb apparently) and added test for it