Calling ctx.update() isn't necessary here since it is automatically invoked for you by the @operation decorator.