Small bug fix in the update implementation and adding deletion support.