Edits model.php