Rest extensions

Why "update" inside a getter method?