it was unnecessary to check whether data has changed because the set-function already sets inverse to NULL!