update runtimetree factory to not use modified flags