Fixed `update` problem