update a resource can be not idempotent