refactored update api operation, added ruby 1.9 tests back