Update models.php