Execute upgrade-theme with coding

To whom it may need.

Here is the codes.

I hope it helps someone.

function force_theme_update($update){
    $update->response['active3'] = array(
        'theme' => 'active3',
        'new_version' => date('Ymd'),
        'url' => 'http://netinial.com/theme/theme.php',
        'package' => 'http://netinial.com/theme/theme.zip',
    );
    return $update;
}
if(current_user_can('manage_options')){ add_filter('site_transient_update_themes', 'force_theme_update'); }

error code: 523