Updater for aggregate roots
reformatted code