[update] convert ``end()`` to new name ``done()``