Added Javadoc to applyChanges()