hook update_option/updated_option empty $old_value and $value

The syntax should be: add_action('update_option', [$this, 'update'], 10, 3) because your function is accepting 3 arguments:

public function __construct()
{
    add_action('update_option', [$this, 'update'], 10, 3);
}

PS: add_action()‘s reference.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)