Update Database model