Ah, you're missing self in your update() method! That's why Python can't find your instance variables.
Your method should look like this:
def update(self):
self.velocity = self.velocity.add(self.acceleration)
self.position = self.position.add(self.velocity)