update read and delete model