adds support for update