add str support for update