Updates app delegate.