added tests for NSNumber floats and ints in update method