Update Database Automatically Fixed