Changed updateIn behaviour, added tests