update & delete api methods