Fixes #509
 - @TODO: update content document content if the target attributes are changed between versions