Fixes #502

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