Hi Marcus,
And welcome to the forum.

Please note that like most of us here I'm just another user. Sparx do monitor these forums and often participate in discussions, but this isn't an official support channel.
EA's handling of attributes is a mix of data types (eg int), which are configured by language, references to other classes, and free text. It's a bit messy, TBH.
The first thing to check is whether it's a presentation issue where the client lags behind the database.
In the browser, highlight the package you're working in and select Contents -- Reload Current Package.
Also, closing and reopening the diagram can sometimes resolve this kind of issue.
If that doesn't help then the attribute type is indeed not updated when it should be.
The "correct" thing would then be to use a directed association in place of the attribute. This would allow you to express the "class-A has an attribute of type class-B" concept but without the textual attribute type label that EA fails to update.
Connectors of this kind are not shown in the list of attributes, so it's not a satisfactory solution, but it is semantically valid.
HTH,
/Uffe