Added update, delete, addOrUpdate methods