add update and delete implementation.

Currently, update and delete operation doesn't care about same score.