changed the response format of update() function

from paste ID (int) to boolean