models. update and delete